﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SSS.Core.Model
{
    /// <summary>
    /// 管理员角色
    /// </summary>
    class Role
    {
        #region 字段

        private string name;
        private string purview;
        private string description;

        #endregion

        #region 属性

        /// <summary>
        /// 角色名
        /// </summary>
        public string Name
        {
            get { return name; }
            set { name = value; }
        }

        /// <summary>
        /// 角色权限
        /// </summary>
        public string Purview
        {
            get { return purview; }
            set { purview = value; }
        }

        /// <summary>
        /// 角色描述
        /// </summary>
        public string Description
        {
            get { return description; }
            set { description = value; }
        }

        #endregion

        #region 构造函数

        public Role()
        {

        }

        public Role(string name, string purview)
        {
            this.name = name;
            this.purview = purview;
        }

        #endregion
    }
}
